package com.sino.operation.dto;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Title: Dto
 * @Description: 通用返回对象
 * @Author dengls
 * @date 2021/10/20 18:14
 */
@Data
@ApiModel(value = "通用返回对象", description = "通用返回对象")
public class Dto<T extends Object> {
    private Integer count;
    private List<T> data;

    public Dto(){
        count = 0;
        data = new ArrayList<>();
    }
}
